package org.itzheng.yuezhi.entity;

import org.itzheng.yuezhi.base.BaseEntity;

import java.util.List;

/**
 * Title:<br>
 * Description: <br>
 * Company: <br>
 *
 * @author ZhengYongdong
 * @email ItZheng@ZoHo.com
 * @date 2016/6/24 0024
 */
public class WeChatArticleSearchEntity extends BaseEntity {

    /**
     * curPage : 1
     * list : [{"cid":"1","cvtPubTime":1466732880000,"id":"3477685","pubTime":"2016-06-24 09:48","sourceUrl":"http://www.yinews.cn/article/3477685.shtm","subTitle":"范爷在时尚跑道上频频出错 快换造型师吧","title":"范爷在时尚跑道上频频出错 快换造型师吧"},{"cid":"1","cvtPubTime":1466732580000,"id":"3477762","pubTime":"2016-06-24 09:43","sourceUrl":"http://www.yinews.cn/article/3477762.shtm","subTitle":"这些奥运冠军时髦起来,她们自己都害怕","title":"这些奥运冠军时髦起来,她们自己都害怕"},{"cid":"1","cvtPubTime":1466732100000,"id":"3476799","pubTime":"2016-06-24 09:35","sourceUrl":"http://www.yinews.cn/article/3476799.shtm","subTitle":"「擦香水就像是选衣服一样」法国女人的美丽哲学","thumbnails":"http://f2.mob.com/imgs/2016/06/24/TQA/K5WLWTQM6KXU6IRHLZHA_160x120.jpg","title":"「擦香水就像是选衣服一样」法国女人的美丽哲学"},{"cid":"1","cvtPubTime":1466732100000,"id":"3476795","pubTime":"2016-06-24 09:35","sourceUrl":"http://www.yinews.cn/article/3476795.shtm","subTitle":"从A到Z，字母表里也有你看不到的护肤守则！","thumbnails":"http://f2.mob.com/imgs/2016/06/24/TYQ/K5WLWTYM6KXU6IRHLZHQ_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/TYA/K5WLWTYM6KXU6IRHLZIA_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/TYQ/K5WLWTYM6KXU6IRHLZIQ_160x120.jpg","title":"从A到Z，字母表里也有你看不到的护肤守则！"},{"cid":"1","cvtPubTime":1466732100000,"id":"3476794","pubTime":"2016-06-24 09:35","sourceUrl":"http://www.yinews.cn/article/3476794.shtm","subTitle":"影响时尚圈的澳洲时尚博主","thumbnails":"http://f2.mob.com/imgs/2016/06/24/OAQ/K5WK2OAM6KXU6IRHLO7Q_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/OAA/K5WK2OAM6KXU6IRHLPAA_160x120.jpg","title":"影响时尚圈的澳洲时尚博主"},{"cid":"1","cvtPubTime":1466732100000,"id":"3476793","pubTime":"2016-06-24 09:35","sourceUrl":"http://www.yinews.cn/article/3476793.shtm","subTitle":"全球身材最性感女警察，走红完全靠身体！","thumbnails":"http://f2.mob.com/imgs/2016/06/24/4AA/K5WJ44AM6KXU6IRHLAVA_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/4AQ/K5WJ44AM6KXU6IRHLAVQ_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/4AA/K5WJ44AM6KXU6IRHLAWA_160x120.jpg","title":"全球身材最性感女警察，走红完全靠身体！"},{"cid":"1","cvtPubTime":1466732100000,"id":"3476790","pubTime":"2016-06-24 09:35","sourceUrl":"http://www.yinews.cn/article/3476790.shtm","subTitle":"爱美无忧：奢侈品是中国人的面子心理作祟？","title":"爱美无忧：奢侈品是中国人的面子心理作祟？"},{"cid":"1","cvtPubTime":1466732100000,"id":"3476789","pubTime":"2016-06-24 09:35","sourceUrl":"http://www.yinews.cn/article/3476789.shtm","subTitle":"女星西装诱惑\u2014\u2014撩你没商量","thumbnails":"http://f2.mob.com/imgs/2016/06/24/4IA/K5WJ44IM6KXU6IRHLAYA_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/4IQ/K5WJ44IM6KXU6IRHLAYQ_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/4IA/K5WJ44IM6KXU6IRHLAZA_160x120.jpg","title":"女星西装诱惑\u2014\u2014撩你没商量"},{"cid":"1","cvtPubTime":1466732100000,"id":"3476788","pubTime":"2016-06-24 09:35","sourceUrl":"http://www.yinews.cn/article/3476788.shtm","subTitle":"拯救发际线 | 你之所掉头发，是因为没买这瓶洗发水！","thumbnails":"http://f2.mob.com/imgs/2016/06/24/4AQ/K5WJ44AM6KXU6IRHLAWQ_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/4AA/K5WJ44AM6KXU6IRHLAXA_158x119.jpg$http://f2.mob.com/imgs/2016/06/24/4AQ/K5WJ44AM6KXU6IRHLAXQ_160x120.jpg","title":"拯救发际线 | 你之所掉头发，是因为没买这瓶洗发水！"},{"cid":"1","cvtPubTime":1466731800000,"id":"3476772","pubTime":"2016-06-24 09:30","sourceUrl":"http://www.yinews.cn/article/3476772.shtm","subTitle":"夏天到了，如何让你的皮肤白起来呢","title":"夏天到了，如何让你的皮肤白起来呢"},{"cid":"1","cvtPubTime":1466731800000,"id":"3476771","pubTime":"2016-06-24 09:30","sourceUrl":"http://www.yinews.cn/article/3476771.shtm","subTitle":"当老师脱掉上衣露出腹肌时，学生们都脸红尖叫了！","thumbnails":"http://f2.mob.com/imgs/2016/06/24/LQQ/K5WJBLQM6KXU6IRHK2DQ_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/LYA/K5WJBLYM6KXU6IRHK2EA_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/TAQ/K5WJBTAM6KXU6IRHK2EQ_160x120.jpg","title":"当老师脱掉上衣露出腹肌时，学生们都脸红尖叫了！"},{"cid":"1","cvtPubTime":1466731740000,"id":"3476782","pubTime":"2016-06-24 09:29","sourceUrl":"http://www.yinews.cn/article/3476782.shtm","subTitle":"Jennifer Lopez 现身《冰川时 代:星际碰撞》媒体发布会","title":"Jennifer Lopez 现身《冰川时 代:星际碰撞》媒体发布会"},{"cid":"1","cvtPubTime":1466731740000,"id":"3476781","pubTime":"2016-06-24 09:29","sourceUrl":"http://www.yinews.cn/article/3476781.shtm","subTitle":"9款最好看的男生发型 帅呆了","title":"9款最好看的男生发型 帅呆了"},{"cid":"1","cvtPubTime":1466731740000,"id":"3476778","pubTime":"2016-06-24 09:29","sourceUrl":"http://www.yinews.cn/article/3476778.shtm","subTitle":"Michael Kors开了欧洲最大旗舰店，还要给F1车手做衣服","thumbnails":"http://f2.mob.com/imgs/2016/06/24/5IQ/K5WJ45IM6KXU6IRHLAZQ_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/5QA/K5WJ45QM6KXU6IRHLA2A_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/5QQ/K5WJ45QM6KXU6IRHLA2Q_158x119.jpg","title":"Michael Kors开了欧洲最大旗舰店，还要给F1车手做衣服"},{"cid":"1","cvtPubTime":1466731740000,"id":"3476777","pubTime":"2016-06-24 09:29","sourceUrl":"http://www.yinews.cn/article/3476777.shtm","subTitle":"都说这个夏天一定要有一字肩，但我不知道怎么配包包呀！【风尚】","thumbnails":"http://f2.mob.com/imgs/2016/06/24/5QA/K5WJ45QM6KXU6IRHLA3A_130x97.jpg$http://f2.mob.com/imgs/2016/06/24/5QQ/K5WJ45QM6KXU6IRHLA3Q_144x108.jpg$http://f2.mob.com/imgs/2016/06/24/5QA/K5WJ45QM6KXU6IRHLA4A_144x108.jpg","title":"都说这个夏天一定要有一字肩，但我不知道怎么配包包呀！【风尚】"},{"cid":"1","cvtPubTime":1466731740000,"id":"3476776","pubTime":"2016-06-24 09:29","sourceUrl":"http://www.yinews.cn/article/3476776.shtm","subTitle":"权志龙巴黎时装秀照片曝光 被糗得罪摄影师拍成一米三","title":"权志龙巴黎时装秀照片曝光 被糗得罪摄影师拍成一米三"},{"cid":"1","cvtPubTime":1466731380000,"id":"3477684","pubTime":"2016-06-24 09:23","sourceUrl":"http://www.yinews.cn/article/3477684.shtm","subTitle":"捂紧你的钱包：旧的牛仔裤千万别扔，放着我来！","title":"捂紧你的钱包：旧的牛仔裤千万别扔，放着我来！"},{"cid":"1","cvtPubTime":1466731080000,"id":"3476749","pubTime":"2016-06-24 09:18","sourceUrl":"http://www.yinews.cn/article/3476749.shtm","subTitle":"茄子的功效与作用 六大好处让你爱上茄子","thumbnails":"http://f2.mob.com/imgs/2016/06/24/TYA/K5WJBTYM6KXU6IRHK2FA_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/UAQ/K5WJBUAM6KXU6IRHK2FQ_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/UAA/K5WJBUAM6KXU6IRHK2GA_160x120.jpg","title":"茄子的功效与作用 六大好处让你爱上茄子"},{"cid":"1","cvtPubTime":1466731080000,"id":"3476747","pubTime":"2016-06-24 09:18","sourceUrl":"http://www.yinews.cn/article/3476747.shtm","subTitle":"零毛孔美颜秘笈 从此告别美图和磨皮","thumbnails":"http://f2.mob.com/imgs/2016/06/24/UIQ/K5WJBUIM6KXU6IRHK2GQ_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/UIA/K5WJBUIM6KXU6IRHK2HA_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/UIQ/K5WJBUIM6KXU6IRHK2HQ_160x120.jpg","title":"零毛孔美颜秘笈 从此告别美图和磨皮"},{"cid":"1","cvtPubTime":1466731080000,"id":"3476742","pubTime":"2016-06-24 09:18","sourceUrl":"http://www.yinews.cn/article/3476742.shtm","subTitle":"巴黎巴黎，博主的爱恨情仇都在这里","thumbnails":"http://f2.mob.com/imgs/2016/06/24/UQA/K5WJBUQM6KXU6IRHK2IA_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/UQQ/K5WJBUQM6KXU6IRHK2IQ_160x120.jpg$http://f2.mob.com/imgs/2016/06/24/UQA/K5WJBUQM6KXU6IRHK2JA_160x120.jpg","title":"巴黎巴黎，博主的爱恨情仇都在这里"}]
     * total : 6850
     */

    private Result result;

    public Result getResult() {
        return result;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public static class Result {
        private int curPage;
        private int total;
        /**
         * cid : 1
         * cvtPubTime : 1466732880000
         * id : 3477685
         * pubTime : 2016-06-24 09:48
         * sourceUrl : http://www.yinews.cn/article/3477685.shtm
         * subTitle : 范爷在时尚跑道上频频出错 快换造型师吧
         * title : 范爷在时尚跑道上频频出错 快换造型师吧
         */

        private java.util.List<Item> list;

        public int getCurPage() {
            return curPage;
        }

        public void setCurPage(int curPage) {
            this.curPage = curPage;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<Item> getList() {
            return list;
        }

        public void setList(List<Item> list) {
            this.list = list;
        }

        public static class Item {
            private String cid;
            private long cvtPubTime;
            private String id;
            private String pubTime;
            private String sourceUrl;
            private String subTitle;
            private String thumbnails;
            private String title;

            public String getCid() {
                return cid;
            }

            public void setCid(String cid) {
                this.cid = cid;
            }

            public long getCvtPubTime() {
                return cvtPubTime;
            }

            public void setCvtPubTime(long cvtPubTime) {
                this.cvtPubTime = cvtPubTime;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getPubTime() {
                return pubTime;
            }

            public void setPubTime(String pubTime) {
                this.pubTime = pubTime;
            }

            public String getSourceUrl() {
                return sourceUrl;
            }

            public void setSourceUrl(String sourceUrl) {
                this.sourceUrl = sourceUrl;
            }

            public String getSubTitle() {
                return subTitle;
            }

            public void setSubTitle(String subTitle) {
                this.subTitle = subTitle;
            }

            public String getThumbnails() {
                return thumbnails;
            }

            public void setThumbnails(String thumbnails) {
                this.thumbnails = thumbnails;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            //重写比较方法,比较网页地址是否相等,相等的就去除
            @Override
            public boolean equals(Object o) {
                Item item = (Item) o;
                if (item == null) {
                    return super.equals(o);
                } else {
                    return item.getSourceUrl().equalsIgnoreCase(this.getSourceUrl());
                }
            }
        }
    }
}
